﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Hidebar.aspx.cs" Inherits="Honestysoft.Baseframework.WebUI.UIFramework.Hidebar" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script>
        var displayBar = true;
        function switchBar(obj) {
            if (displayBar) {
                parent.document.getElementById("frame").cols = "0,12,*";
                displayBar = false;
                obj.src = "../images/show_btn.gif";
                obj.title = "打开左边管理菜单";

            }
            else {
                parent.document.getElementById("frame").cols = "180,12,*";
                displayBar = true;
                obj.src = "../images/hide_btn.gif";
                obj.title = "关闭左边管理菜单";
            }
        }
      </script>
</head>
<body style="background-color:#EEF2FB">
    <form id="form1" runat="server">
    <div>
    <table style="width:8px">
        <tr>
            <td style="height:150px">&nbsp;</td>
        </tr>
        <tr>
            <td>
               <img src="../images/hide_btn.gif"  border="0" style="cursor:hand"  onclick="switchBar(this)" alt='关闭左边管理菜单'/>
            </td>
        </tr>
        <tr>
            <td></td>
        </tr>
    </table>
    </div>
    </form>
</body>
</html>
